/* components/short-video-search-result/index.wxss */
.search-comp {
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 999999;
}

.nav-bar {
  background-color: #fafafa;
}

.back {
  font-size: 50rpx;
  padding-bottom: 3px;
}

.search-container {
  z-index: 999;
  height: inherit;
  background: #f3eded !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 30rpx;
  box-sizing: border-box;

  .search-input {
    width: 100%;
    padding-left: 30rpx;
  }

  .icon {
    font-size: 36rpx;
  }
}

.content {
  .search {
    .history {
      overflow: hidden;
    }

    .history-btn {
      text-align: center;
      line-height: 40px;
      font-size: 16px;
      color: #6e6363;
    }
  }

  box-sizing: border-box;
  padding-bottom: env(safe-area-inset-bottom);
  overflow: hidden;
}

.search-result {
  box-sizing: border-box;
  padding-bottom: env(safe-area-inset-bottom);
  overflow: hidden;
}

.mr-l {
  margin-left: 15px;
}

.video-card {
  background-color: #fafafa;
  padding: 15px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;

  .card-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
}

.topic-class {
  color: #2EA9DF;
}

.video-container {
  width: 240px;
  height: 400px;
  border-radius: 20px;
  background-color: #000000;
  overflow: hidden;
  position: relative;

  video {
    width: 100%;
    height: 100%;
  }

  .cover-control {
    position: absolute;
    bottom: 0;
    height: 40px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: flex-end;

    .control-icon {
      color: white;
      margin-right: 15px;
      font-size: 24px;
    }
  }
}

.handle-container {
  height: 60px;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  align-items: center;

  .handle-view {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    .handle-view-icon {
      margin-right: 10px;
    }

  }

}

.share-btn {
  background-color: transparent !important;
  border: 0 !important;
  height: inherit !important;
  padding: 0 !important;
}

.share-btn::before {
  background-color: transparent !important;
}


.like-fill-animate {
  animation-direction: normal;
  animation-duration: 0.25s;
  animation-fill-mode: forwards;
  animation-name: like;
}


.star-fill-animate {
  animation-direction: normal;
  animation-duration: 0.25s;
  animation-fill-mode: forwards;
  animation-name: like;
}


@keyframes like {
  0% {
    scale: 1.0;
  }


  50% {
    scale: 0;
  }

  100% {
    scale: 1.0;
  }
}